
<h1>Service components in <code>ngRoute</code></h1>



<div class="component-breakdown">
  <div>
    <table class="definition-table">
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
      
      <tr>
        <td><a href="api/ngRoute/service/$route">$route</a></td>
        <td><p><code>$route</code> is used for deep-linking URLs to controllers and views (HTML partials).
It watches <code>$location.url()</code> and tries to map the path to an existing route definition.</p>
</td>
      </tr>
      
      <tr>
        <td><a href="api/ngRoute/service/$routeParams">$routeParams</a></td>
        <td><p>The <code>$routeParams</code> service allows you to retrieve the current set of route parameters.</p>
</td>
      </tr>
      
    </table>
  </div>
</div>

